/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package randomGeneration;

/**
 *
 * @author Eng.monsh
 */
public class SeedsPool {

    final String seedsPool = "1,46831694,1841581359,1193163244,727633698,933588178#" +
            "804159733,1671059989,1061288424,1961692154,1227283347,1171034773#" +
            "276090261,1066728069,209208115,554590007,721958466,1371272478#" +
            "675466456,1095462486,1808217256,2095021727,1769349045,904914315#" +
            "373135028,717419739,881155353,1489529863,1521138112,298370230#" +
            "1140279430,1335826707,706178559,110356601,884434366,962338209#" +
            "1341315363,709314158,591449447,431918286,851767375,606179079#" +
            "1500869201,1434868289,263032577,753643799,202794285,7158515243#" +
            "509392896,2116653394,1885818104,1129331080,459412233,719455333#" +
            "102413965,1575709499,2046822636,372240708,570409100,1031117242";

    public double[] getCurrentSeeds(int iteration){
        String currentSeedsRow = seedsPool.split("#")[iteration - 1];
        String [] currentSeeds = currentSeedsRow.split(",");
        double [] seeds = new double[currentSeeds.length];
        for (int i = 0; i < currentSeeds.length; i++) {
            seeds[i] = Double.parseDouble(currentSeeds[i]);
        }
        return seeds;
    }
}
